package books4africa

import static org.junit.Assert.*
import org.junit.*

class InventoryIntegrationTests {

    
	void testFirstBookInventory(){
		def newBook = new Books(title:"TestBook", author:"Jason Johns", minGradeLevel:"1", maxGradeLevel:"5").save()
		
		
		def addToInventory = new Inventory(book: newBook, qty: 3)
		
		assertEquals 3, addToInventory.qty
		
	}
	
	

}
